var xmlhttp = null;

function read_now_file_stu()
{
	var url = "/md/student/now.txt"
	// var xmlhttp = null;
	var str;

	if (window.XMLHttpRequest)
	{ // code for IE7, Firefox, Opera, etc.
	  	xmlhttp = new XMLHttpRequest();
	}
	else if (window.ActiveXObject)
  	{ // code for IE6, IE5
  		xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  	}
	xmlhttp.onreadystatechange = show_student_file;
	xmlhttp.open("GET", url, true);
	xmlhttp.send(null);
}

function show_student_file()
{
	if (xmlhttp.readyState == 4 && xmlhttp.states == 200)
	{
		document.getElementById('test').innerHTML=xmlhttp.responseText;
	}
}